package com.jisf.driver.mapper;

import com.jisf.driver.entity.vo.MenuListVo;
import com.jisf.driver.entity.po.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author jisf
 * @since 2022-04-08
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> selectPermsByUserId(Integer id);

    List<MenuListVo> selectMenuListByUserId(Integer id);

    List<MenuListVo> selectAllMenus();

    List<MenuListVo> selectMenusList();

}
